﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="PriceInfoForm.aspx.cs" Inherits="App_Master_PriceInfoForm" Title="Untitled Page" %>

<%@ Register Assembly="ShpmCommon" Namespace="Shpm.System.Web.Control" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="resultTable">
    <table width="100%">
     <tr>
        <td>
            <table class="table_border_line">
                <tr>
			    <td align="left" colspan="4" >
			        <script language="javascript">
                                        (new TitleBar('SearchBar', '检索条件')).showBar();
                    </script>

                    &nbsp;</td>						
		      </tr>
            </table>
            <table class="table_border_line">
                <tr>
                    <td style="width: 400px; height: 35px">
                    </td>
                    <td style="width: 95px; height: 35px">
                        会员类型：
                    </td>
                    <td style="height: 35px">
                        <asp:DropDownList ID="MemberType" runat="server" DataTextField="Content" DataValueField="DictNo" Width="105px">
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td style="width: 400px; height: 35px">
                    </td>
                    <td style="width: 95px; height: 35px">
                        付费类型：
                    </td>
                    <td style="height: 35px">
                        <asp:DropDownList ID="PayType" runat="server" DataTextField="Content" DataValueField="DictNo" Width="105px">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td style="width:400px; height: 35px;"  >
                    </td>
                    <td style="height: 35px; width: 95px;" >
                        生效时间：
                    </td>
                    <td style="height: 35px" >
                        <asp:TextBox ID="txtSendDate" runat="server" onfocus="new Calendar().show(this);"
                    Width="105px"></asp:TextBox>～
                    <asp:TextBox ID="txtSendDateTo" runat="server" onfocus="new Calendar().show(this);"
                    Width="105px"></asp:TextBox>
                    </td>
                </tr>              
                <tr>
                    <td style="width: 400px; height: 18px">
                    </td>
                    <td style="width: 95px; height: 18px">
                    </td>
                    <td style="height: 18px">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td style="width: 400px; height: 35px">
                    </td>
                    <td style="width: 95px; height: 35px">
                    </td>
                    <td style="height: 35px">
                        <asp:Button ID="btnSearch" runat="server" CssClass="button" OnClick="btnSearch_Click"
                            Text="检 索" Width="75px" />&nbsp;
                        <asp:Button ID="btnNew" runat="server" Text="新 建" CssClass="button" Width="75px" OnClick="btnNew_Click"/></td>
                </tr>
            </table>                
        </td>
     </tr>
     <tr>
        <td align="left" style="height: 15px">

                <script language="javascript" type="text/javascript">
                (new TitleBar('MemberBar', '价格信息')).showBar();
                </script>
                
        </td>
     </tr>
     <tr>
        <td  >

        <asp:GridView ID="GridView1" runat="server"  CssClass="GridView_table" DataKeyNames="priceId"
                                    AutoGenerateColumns="False" 
                                            Width="100%"  BorderWidth="0px" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging" OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing" PageSize="20">
                                    <Columns>
                                        <asp:BoundField HeaderText="会员类型" DataField="MemName">
                                            <ItemStyle CssClass="GridView_item_center"  width="9%"/>
                                            <HeaderStyle CssClass="GridView_head_grayblue" />
                                        </asp:BoundField>
                                        <asp:BoundField HeaderText="付费类型" DataField="FeeName">
                                            <ItemStyle CssClass="GridView_item_center"  width="9%"/>
                                            <HeaderStyle CssClass="GridView_head_grayblue" />
                                        </asp:BoundField>
                                        <asp:BoundField HeaderText="生效时间" DataField="BeginDate" DataFormatString="{0:yyyy/MM/dd}" HtmlEncode="False">
                                            <ItemStyle CssClass="GridView_item_center"  width="10%"/>
                                            <HeaderStyle CssClass="GridView_head_grayblue" />
                                        </asp:BoundField>
                                        <asp:BoundField HeaderText="保证金(元)" DataField="Deposit" DataFormatString="{0:N}" HtmlEncode="False">
                                            <ItemStyle CssClass="GridView_item_right"  width="10%"/>
                                            <HeaderStyle CssClass="GridView_head_grayblue" />
                                        </asp:BoundField>
                                        <asp:BoundField HeaderText="保证金期限(天)" DataField="DepositLimit">
                                            <ItemStyle CssClass="GridView_item_center"  width="10%"/>
                                            <HeaderStyle CssClass="GridView_head_grayblue" />
                                        </asp:BoundField>
                                        <asp:BoundField HeaderText="会员费(元)" DataField="MemberExpense" DataFormatString="{0:N}" HtmlEncode="False">
                                            <ItemStyle CssClass="GridView_item_right"  width="10%"/>
                                            <HeaderStyle CssClass="GridView_head_grayblue" />
                                        </asp:BoundField>
                                        <asp:BoundField HeaderText="租金(元)" DataField="Rent" DataFormatString="{0:N}" HtmlEncode="False">
                                            <ItemStyle CssClass="GridView_item_right"  width="10%"/>
                                            <HeaderStyle CssClass="GridView_head_grayblue" />
                                        </asp:BoundField>
                                        <asp:BoundField HeaderText="押金(元)" DataField="Foregift" DataFormatString="{0:N}" HtmlEncode="False">
                                            <ItemStyle CssClass="GridView_item_right"  width="10%"/>
                                            <HeaderStyle CssClass="GridView_head_grayblue" />
                                        </asp:BoundField>
                                        <asp:BoundField HeaderText="年费(元)" DataField="YearExpense" DataFormatString="{0:N}" HtmlEncode="False">
                                            <ItemStyle CssClass="GridView_item_right"  width="10%"/>
                                            <HeaderStyle CssClass="GridView_head_grayblue" />
                                        </asp:BoundField>
                                        <asp:CommandField HeaderText="详细" ShowEditButton="True" ButtonType="Image"  EditImageUrl="~/images/info.gif">
                                        <HeaderStyle CssClass="GridView_head_grayblue" Width="5%" />
                                        <ItemStyle CssClass="GridView_item_center" />
                                        </asp:CommandField>
                                        <asp:TemplateField HeaderText="删除" ShowHeader="False">
                                        <ItemStyle CssClass="GridView_item_center" />
                                        <HeaderStyle CssClass="GridView_head_grayblue" Width="60px" />
                                        <ItemTemplate>
                                            <asp:ImageButton ID="ImageButton1" runat="server" CausesValidation="False" CommandName="Delete"
                                                ImageUrl="~/images/delete.jpg" Text="Delete" OnClientClick="javascript:return window.confirm('是否删除该条信息？')"/>
                                        </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                        <PagerStyle HorizontalAlign="Right" VerticalAlign="Middle" />
                        
            </asp:GridView> 
            </td>
        </tr>
    </table>
    
    
    </div>
</asp:Content>

